SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1f5475d009304f26019e952a0a53240256ffe6950fde4f88b7105323b33f317' 
  AND token = 'BR5+CBW+4yEUOYOkfAPQomombFLsKffRIhqayRW4j20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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