SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df1d4040a33471b18ebf8f6ee47a8814d1ec4cf8336709f2f961b86d56448148' 
  AND token = 'JfJPzuKrXw4logKEklzv3WnDX+sogwplY72T51F6Ldg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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