SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e3f010d24dacee7e0df52b43b5250db6b2372701435828410c9c893be302a17' 
  AND token = 'AgrlHsNOxX7NQHhNGbC1AoYgYuqEh3KIBI23D7iMMtU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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