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

Query time 0.00023

JSON explain

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