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

Query time 0.00029

JSON explain

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