SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42077fa1007adfa61c2548ca49f460b9e39027a50efbe9d73ba2eadca700643f' 
  AND token = 'hIfV32pLkjSd+gpzPqKRSsJAOjauUdGUQl7wAe4jtvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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