SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aacf5520c931978a3491a0603e2fb0389e3f3cd27c626e5db2e10447d523a648' 
  AND token = 'Tv9nSnCJm4EZSeWPI1rwNuAa88ZOfVshhUvLPWLR7SQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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