SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a398865433238342f16d1c977eec9b3234797b0fe7167d20a30b64917e2fe684' 
  AND token = 'q0ZZWiWH08jPFAkz90+pPpIddhG5i8ZT5Gi96sDhVHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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