SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '399f61a2c90df64a0f8983eb656962732084fe943cac135098f14ccdc889400c' 
  AND token = 'AJPQ3Xf82oyYuGRCDOkntY1SUMEO38PoF2ywhQB3OvE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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