SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '070d8a087c94f9d8aa39b3a6cdec963510d33a59df2ed9a13066f6590a0c3b2a' 
  AND token = '1yvebhtV2qsK6ECMoY9FqUi2yrPsUVRY4TpudrM8bZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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