SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '864183a5842652f059804bce93e4559ab9bee312416a5ec437b0e77a9312b80a' 
  AND token = '0T2oT58cZX0KPEf3o0Pn8Tg9Xn7cuiX0IpzHKfuyy18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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