SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '377eb0af522e3a153dc08164991c3f038cbaf2a1af9e99106431c6d94ddba571' 
  AND token = 'geeh1n9MOGeCcUifuxP9P18dLHOTH4WHxBS0iilcIug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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