SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fcdae7e7bf0e8335b336cc184910f982dce782dc0f835117c3513b394abeb94' 
  AND token = '63uy7YfVSAVxNTFrGNpr2s7UAFftDsxmwjL88RbcDp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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