SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a768874cbb7270ee09a46ebdd19a40a5126663ca86f735fb8a06f93df4a2dc7' 
  AND token = '5wSqTmCYSt4349N5NeK/EaqdhKvVam2/P0dMF88z87A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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