SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b5af98947eedebaf3f3e997c791f9bb16bae7773a7f2df887365dafee147466' 
  AND token = 'KM7tke/WwSv3M/kluAZk5+TfcWKJ6/6/16ILN49/q3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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