SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f12fcf4717dcf3dc4a4bb28b7e56f520a11db0579fe03f5f95b07de8f51cf6fb' 
  AND token = 'hedoCEcI7ihh0SH7qW3xE71RKnOB1NYUVo67l6KtbPM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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