SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45766fe18214bfb80ba9d78e1d8b05c16cb526acf0cd2520390c0c45dd542a39' 
  AND token = 'uHSkl2m9pHYNsTy43WCTTOOKNTwqzdHjydlRJ8nyYH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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