SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17d30e59e5bd2a1ad3bfb593639e1d66504d1a454c5e106710f0c86660c6587a' 
  AND token = '8Rvvjrp5DyqjQq6j4ePkJilhgHKLmRrjX+0pVjD+UD0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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