SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ff344217c5829ee1416cc2546a02de77637761d49c4ef3f6ab0ad9e96ced232' 
  AND token = 'gp6BfSqGorLB38l/kjKS8poQCvJapHpu/Otdjll1Bsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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