SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd270045cc3964e758d986908c2758af9ba4f40975e3cfdfc1f020f7592f72bdd' 
  AND token = 'a/5HnSiaG0jINgCrEXlJkHehGBumo1c4YMc57XJkJOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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