SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fb4d0a4d8314982e7e7dde66f8b155a9f4c1cdeeb1fe6b38c0b66120054bbf9' 
  AND token = 'caiTUK3QTdbHdUuesp4DbkJz2R2sO/Rp0VWp6RlnExM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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