SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '29d2b2f1c4a5ce65a0d551f9ec25934d3c43f4a56effd08470541f3ca706c167' 
  AND token = 'iOg0cK2hF2T/p01Txzgj2cXk7vwJOrHDmnLc5VpPc3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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