SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '291e8520313bae144c996371fa154225c599f449a97a426610862e7002af8b5c' 
  AND token = 'ZiHCODn8Uy2sYkVNwnWnpWSq/h015CppEI3ihwwQqmg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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