SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a7f5aa8954d26c64d9aeb9e50e91b106f198b252b292cf020702b4e2ded8b8f' 
  AND token = 'mZP6BN3oiz36TNPMos4+Iq7/GyYFuDMM1XyaZVG/ihA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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