SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '46522f4e2d80c9e4d679413b2bb5978211e28a5ea5f8751a2c4018fe30790de0' 
  AND token = 'oa5B3LsXhkwnUBGLYvDzG5f6pF6N45yfh+g+A+PWOQI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}