SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '789866c0e44c90720ba2054a6c2114be0f614a7e6cf9b0cff3aa4a328bead0a5' 
  AND token = 'jUjZ28oKRqjeWURFpjtXJPrkDH7L7WxIs4OFL61m4AQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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