SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7a80904b57f8d33b31795487967a51f14b9c3d539237883ec3c23a928940e22' 
  AND token = 'mmJlcUixdU3T7yCf0cuSPXiHiwx83LiKGRi/aZoHEa8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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