SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9aac71c98e7a1163feefc74bfcdc00cdb165eb1d277a2f742605487bc65e32de' 
  AND token = '33LS0xKArZe+7qhAZwYfYfSPciJOwuKBcHikyEAXrX0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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