SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df987718b8135c7843cf4c86e4d0dfe4228e2fb4c24da2b870ddc5f0d5158310' 
  AND token = 'kpyeL7FutnvGNKqwHKLc8Ic8elwZxj2nDBS2GbKJzi8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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