SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d96c31ff4327babb4c44014615fb36ddef79dab48c07ab8932d378dcc5c3dad' 
  AND token = 'xNJyUIU8ocUP9Sx5Jv1e3QX/002/W+wM45106oXxi+o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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