SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc2478b2fd57bcfc53382f4813996e5717c04457f8beb4ffe4634efb5302984c' 
  AND token = '5sL2CXpqtYxE7gwDKQ5c736uwsP6cwBJGrj8FWc21Xs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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