SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecc40eca46d48592588bf6cae1c2505b40b66fcffd47d5012589db52180b4c5d' 
  AND token = 'wLsk2/NIISrc6ZPFTLtwrsogCR/W6U/hbr/xMsQChPo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00087

JSON explain

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