SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7a9589cc9c1ac8fb682ecb85e1b4934279c7a89d308f0029863871f1f396162' 
  AND token = 'UaClQDuQma/V1JBulx4QqW2Nl+niRHcVBAHDNCu/8W0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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