SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3a8d21fc28236fd94cfdc587eb60d22229aee141ae180d92526271b43302541' 
  AND token = 'NpbF2AsLGl24I7cFm4TylAJbDSZpAvaygvffWlN3QUo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}