SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '95a04d1bb9a658b6a8e89ca594fda23ccfa0a10510c4aba218fce1a4293fe7ea' 
  AND token = 'qVSVHOF3q4Gjipd7Ww6YRAsSHOo1BYUxKy0A1h7bjPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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